﻿using Ruanmou.IRepository;
using Ruanmou.IService;
using Ruanmou.Model;
using Ruanmou.Repository;
using System;
using System.Collections.Generic;
using System.Text;

namespace Ruanmou.Service
{
    public class TextService : ITextService
    {
        private ITextRepository _itextRepository = null;
        public TextService(ITextRepository itextRepository)
        {
            _itextRepository = itextRepository;
        }
        public void AddText(TextModel mode)
        {
            _itextRepository.AddText(mode);
        }
    }
}
